package com.cddx.logistics.mapper;

import com.cddx.logistics.domain.dto.VehicleTaskQueryDTO;
import com.cddx.logistics.domain.pojo.VehicleTask;
import com.cddx.logistics.domain.vo.VehicleTaskVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VehicleTaskMapper {
    List<VehicleTaskVO> queryByDate(VehicleTaskQueryDTO queryDTO);
    List<VehicleTaskVO> queryPage(VehicleTaskQueryDTO queryDTO);
    int add(VehicleTask vehicleTask);
    int update(VehicleTask vehicleTask);
    int delete(Integer id);
}